package com.nbsaas.boot.order.rest.convert;

import com.nbsaas.boot.order.data.entity.OrderRefund;
import com.nbsaas.boot.order.api.domain.simple.OrderRefundSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* 订单退款-列表对象转换器
*/

public class OrderRefundSimpleConvert implements Converter<OrderRefundSimple, OrderRefund> {




@Override
public OrderRefundSimple convert(OrderRefund source) {
    OrderRefundSimple result = new OrderRefundSimple();

                result.setRefundProof(source.getRefundProof());
                result.setRefundMethod(source.getRefundMethod());
                result.setOrderNo(source.getOrderNo());
                result.setOrderId(source.getOrderId());
                result.setRefundReason(source.getRefundReason());
                result.setRefundTime(source.getRefundTime());
                result.setRefundStatus(source.getRefundStatus());
                result.setAuditRemark(source.getAuditRemark());
                result.setAddDate(source.getAddDate());
                result.setThirdRefundNo(source.getThirdRefundNo());
                result.setRefundType(source.getRefundType());
                result.setAuditorId(source.getAuditorId());
                result.setRefundNo(source.getRefundNo());
                result.setAuditTime(source.getAuditTime());
                result.setRefundDetail(source.getRefundDetail());
                result.setId(source.getId());
                result.setApplyTime(source.getApplyTime());
                result.setAuditorName(source.getAuditorName());
                result.setRefundAmount(source.getRefundAmount());
                result.setLastDate(source.getLastDate());


    return result;
}

}